package com.isias.system.service;


import com.isias.model.dto.CourseDto;
import com.isias.model.dto.UserAndIdDto;
import com.isias.model.dto.VideoDto;
import com.isias.model.vo.*;

import java.util.List;

public interface VideoService {

    List<VideoDto> SelectAll(SelectVideoVo videoVo);

    VideoDto SelectOne(String id);     //根据课程id查询

    Boolean UpdataOneById(VideoVo videoVo);//更改单个

    Boolean RemoveOneById(String id);//逻辑删除

    Boolean Add(VideoVo videoVo);    //插入

//    Boolean RemoveByIds(List<String> ids);  //批量删除

    Boolean UpdateUrlById(String url,String id);

}
